package com.ybt.communicate.core.factory;

import com.ybt.communicate.core.IProtocol;
import com.ybt.communicate.core.configration.IProtocolConfig;
import com.ybt.communicate.core.exception.ProtocolException;

public interface IProtocolFactory<E extends IProtocolConfig<?>>  {
    IProtocol createProtocol(E protocolConfig) throws ProtocolException;
}
